package com.akaovi.exp.exp11.domain;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/11/29 11:40
 * @since 2022/11/29 11:40
 */
public class Sc {
    /**
     * 学生编号
     */
    private int sid;
    /**
     * 课程编号
     */
    private int cid;
    /**
     * 成绩
     */
    private double score;

    public Sc() {
    }

    public Sc(int sid, int cid, double score) {
        this.sid = sid;
        this.cid = cid;
        this.score = score;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Sc{" +
                "sid=" + sid +
                ", cid=" + cid +
                ", score=" + score +
                '}';
    }
}
